package com.mqz.zebraEcommerce.commodity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 商品属性分组
 *
 * @author mqz
 * @email 952905931@qq.com
 * @date 2025-03-02 16:48:14
 */
@Data
@TableName("commodity_attrgroup")
public class AttrGroupEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 组名
     */
    private String name;
    /**
     * 排序值
     */
    private Integer sort;
    /**
     * 说明
     */
    private String description;
    /**
     * 组图标
     */
    private String icon;
    /**
     * 所属分类id
     */
    private Long categoryId;
    /**
     * cascadedCategoryId
     */
    @TableField(exist = false)
    private Long[] cascadedCategoryId;
}
